export type MessageRole = "user" | "assistant";

export type MessageType =
  | "text"
  | "collecting_function"
  | "loading"
  | "success"
  | "error";

export interface Message {
  role: MessageRole;
  content: string;
  type?: MessageType;
  id?: string;
}
